home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20000217-20000824 / 000467_news@columbia.edu _Fri Aug 18 16:06:58 2000.msg < prev    next >
Internet Message Format  |  2000-08-23  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA22100
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:58 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05146
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:58 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA10923
  10.     for kermit.misc@watsun.cc.columbia.edu; Fri, 18 Aug 2000 16:04:28 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: Q on Answer Status
  14. Date: 18 Aug 2000 20:04:27 GMT
  15. Organization: Columbia University
  16. Message-ID: <8nk4sb$al8$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <399d94d9.25921328@news.earthlink.net>,
  20. Bob Mariotti <bobm@cunix.com> wrote:
  21. : I am new to c-kermit and so far my scripts have been coming along
  22. : steadily.  But there are some things I cannot find answers to either
  23. : on the web or in the manuals (purchased or downloaded).
  24. : Perhaps some of you can help.
  25. : 1) On our server side we have a kermit script that constantly waits
  26. : for an incoming call.  We use the "ans" command.   If this fails we
  27. : simply branch back and execute ans again.  However, we wish to detect
  28. : an abort (Ctrl+C) to exit the script or perhaps a kill sig-usr to
  29. : terminate the script.   We cannot find anyway to examine the status of
  30. : the answer.. Any ideas or suggestions?
  31. Like it says in the manual, you can use the \v(dialstatus) variable.
  32.  
  33. : 2) We are using INPUT to read a string from the remote site.  We wish
  34. : to parse it into separate fields based on field delimiters.  Again, we
  35. : have played with several of the functions with no luck.  Any
  36. : suggestions on how to parse a string into separate fields and compare
  37. : some of them to determine what should be done?
  38. C-Kermit 7.0 has a new function \fsplit().  Type "help function split"
  39. for specs.
  40.  
  41. - Frank
  42. From news@columbia.edu  Fri Aug 18 16:06:59 2000
  43. Return-Path: <news@columbia.edu>
  44. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  45.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA11981
  46.     for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:58 -0400 (EDT)
  47. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  48.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05143
  49.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:57 -0400 (EDT)
  50. Received: (from news@localhost)
  51.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA10421
  52.     for kermit.misc@watsun.cc.columbia.edu; Fri, 18 Aug 2000 15:54:59 -0400 (EDT)
  53. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  54. From: bobm@cunix.com (Bob Mariotti)
  55. Subject: Q on Answer Status
  56. Organization: Financial DataCorp
  57. Message-ID: <399d94d9.25921328@news.earthlink.net>
  58. Date: Fri, 18 Aug 2000 19:54:57 GMT
  59. To: kermit.misc@columbia.edu
  60.  
  61. I am new to c-kermit and so far my scripts have been coming along
  62. steadily.  But there are some things I cannot find answers to either
  63. on the web or in the manuals (purchased or downloaded).
  64.  
  65. Perhaps some of you can help.
  66.  
  67. 1) On our server side we have a kermit script that constantly waits
  68. for an incoming call.  We use the "ans" command.   If this fails we
  69. simply branch back and execute ans again.  However, we wish to detect
  70. an abort (Ctrl+C) to exit the script or perhaps a kill sig-usr to
  71. terminate the script.   We cannot find anyway to examine the status of
  72. the answer.. Any ideas or suggestions?
  73.  
  74. 2) We are using INPUT to read a string from the remote site.  We wish
  75. to parse it into separate fields based on field delimiters.  Again, we
  76. have played with several of the functions with no luck.  Any
  77. suggestions on how to parse a string into separate fields and compare
  78. some of them to determine what should be done?
  79.  
  80. Thanks in advance for your kind kermit help.
  81.  
  82. Bob